<?php
namespace Admin\Controller;
use Think\Controller;
class CommonController extends Controller {
	public function __construct(){
        parent::__construct();
        if(!session('admin_id')){
        	$this->error('未登录，请登录！',U('Login/login'));
        }
    }
}
